<template>
    <div class="app">
        <merchantHeader/>
        <div class="back">
            <div class="con">
              <div class="pxes"></div>
              <div class="listneo">
                <businessL/>
                <div class="conres">
                  <div class="ra">设置支付密码</div>
                  <div class="yuansdj">
                      <h4>设置支付密码</h4>
                      <el-form label-width="100px">
                        <el-form-item label="输入支付密码">
                            <el-input style="width:200px" type="password" v-model="password" placeholder="请输入6-20位字母，数字"></el-input>
                        </el-form-item>
                        <el-form-item label="确定支付密码">
                            <el-input style="width:200px" type="password" v-model="passwordAgain" placeholder="请重复以上密码"></el-input>
                        </el-form-item>
                        <el-button size="medium" type="danger" style="display:block;margin: 0 auto;" @click="quedin">确定</el-button>
                      </el-form>
                  </div>
                  <businessF/>
                </div>
              </div>
              
            </div>
        </div>
        <Footer/>
    </div>
</template>
<script>
import merchantHeader from '@/components/merchantHeader'
import Footer from '@/components/Footer'
import businessL from '@/components/businessL'
import businessF from '@/components/businessF'
export default {
    components: { 
    merchantHeader,
    Footer,
    businessL,
    businessF
    },
    data() {
      return {
        password:"",
        passwordAgain:""
      }
      
    },
    methods: {
        quedin(){
          if(this.password!=""&&this.password==this.passwordAgain){
            this.$message({
              message:'设置成功',
              type:'success'
            })
            this.$router.push('/bussBank')
          }else{
            this.password="",
            this.passwordAgain=""
            this.$message.error('请输入确保两次输入的密码是一样,并且是6-20位字母，数字');
          }
            
        }
    },
}
</script>
<style scoped>
.app  /deep/  .ist_l .ist_c li:nth-child(1) {
    background-color: #ff9381;
    width: 126px;
    height: 50px;
    display: block;
}


.back {
    background-color: #f06048
}  
.pxes {
  height: 15px;
}
.back .con {
  width: 1200px;
  margin: 0 auto;
  background-color: #eee;
  padding-bottom: 10px;
} 
.listneo {
  width: 1161px;
  margin: 0px auto;
  display: flex;
  justify-content: space-between;
}
.conres {
  width: 902px;
  border-radius: 6px;
  background-color: #fff
}
.conres .ra {
  font-size: 20px;
    color: #fff;
    text-align: center;
    line-height: 43px;
    margin-left: 14px;
    position: relative;
    top: 15px;
    width: 192px;
    height: 43px;
	background-color: #f06048;
	box-shadow: 0px 4px 2px 0px 
		rgba(70, 23, 15, 0.38);
	border-radius: 0px 0px 20px 20px;
}
.yuansdj{
    width: 90%;
    margin: 35px auto;
}


</style>